Next | Prev | Up | Top | Contents | Index

Register Allocation

The MIPS architecture emphasizes the use of registers. Therefore, register usage has a significant impact on program performance.

The optimizer allocates registers for the most suitable data items, taking into account their frequency of use and their locations in the program structure. In addition, the optimizer assigns values to registers in such a way as to minimize shifting around within loops and during procedure invocations.

This chapter describes how to write/edit code for 64-bit programs.


Next | Prev | Up | Top | Contents | Index